const db = require("./db")

const adminObj = new db.Schema({
    adminId:{type:String},
    username: {type:String},
    password: {type:String},
    power: {type:Number},
    lastTime: {type:Number},
    ipAddress: {type:String}
})

// power:0;普通管理员
// power:1;超级管理员

module.exports = db.model("admin", adminObj);
